home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / os2 / fm2_250.zip / archiver.bb2 next >
Text File  |  1996-07-11  |  18KB  |  828 lines

  1. 21
  2. ;That first line is how many lines/record in this archiver.bb2 file...
  3. ;very important, do not change.  Allows future modifications to the
  4. ;file to be transparent to older programs.
  5. ;
  6. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  7. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  8. ;
  9. ;format for this archiver.bb2 file (each entry has 21 lines):
  10. ;
  11. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  12. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  13. ; 3rd line:  offset into file to signature
  14. ; 4th line:  list command
  15. ; 5th line:  extract command
  16. ; 6th line:  extract w/ directories command
  17. ; 7th line:  test archive command
  18. ; 8th line:  add/create command
  19. ; 9th line:  add/create w/ paths command
  20. ;10th line:  add/create & recurse command
  21. ;11th line:  move command
  22. ;12th line:  move w/ paths command
  23. ;13th line:  delete command
  24. ;14th line:  signature (case sensitive, leading spaces count!
  25. ;15th line:  startlist string
  26. ;16th line:  endlist string
  27. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  28. ;18th line:  new size position
  29. ;19th line:  file date position[,type of date (0 for none)]
  30. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  31. ;21st line:  file name position (absolutely required, of course; -1 = last pos)
  32. ;
  33. ;a semicolon demarks a comment.  they may appear at any point *except*
  34. ;within the 21 lines of an archiver entry.  comments are ignored by AV.
  35. ;
  36. ;note that all archiver strings should include the archiver's parameter to
  37. ;prevent it from stopping for input!  also note that archive types are checked
  38. ;in order of their listing in this file.  finally, this file is set up for
  39. ;the archivers I had lying around; if yours are different versions, you may
  40. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  41. ;DOS archivers may work with FM/2, but it'll be up to you to set them up.
  42. ;
  43. ;date types supported:
  44. ;--------------------
  45. ;02-08-96  23:55:32            1
  46. ; 8 Feb 96 23:55:32            2
  47. ; 8 Feb 96  11:55p             3
  48. ;96-02-08 23:55:32             4
  49. ;
  50. ;
  51. ;how archive listing works (for the curious):
  52. ;
  53. ;AV first tries to find a signature match.  failing that, it checks
  54. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  55. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  56. ;followed by the filename (AV spawns ARC directly).  If the former, the list 
  57. ;command is sent, followed by the filename.  AV (and XBBS) then parses the
  58. ;resultant file using the start and end list lines and offsets in file lines
  59. ;listed in this file for the given archiver.
  60. ;
  61. ;Warning:  I'm told there's a bug in some versions of 4OS2 that can cause
  62. ;a call to an archiver to fail if the archiver has an extension (i.e.
  63. ;UNZIP works, UNZIP.EXE doesn't).  If things fail for no apparent reason
  64. ;and you're using 4OS2 you might keep it in mind.
  65. ;
  66. ;Sample C code to access this information is in sample.c in the AV
  67. ;distribution archive, and is free for the using in your own projects.
  68. ;
  69. ;-----------------Archiver data begins-----------------------
  70. ;
  71. ;This entry is for Zoo 2.1
  72. ;
  73. ;NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
  74. ;be extracted w/ paths even when you don't ask it to do so...
  75. ;
  76. ;
  77. Zoo 2.1
  78. ZOO
  79. 20
  80. ZOO.EXE v
  81. ZOO.EXE xO
  82. ZOO.EXE xO/
  83. ZOO.EXE -test
  84. ZOO.Exe ah:
  85. ZOO.EXE ah
  86.  
  87. ZOO.EXE aM:h
  88. ZOO.EXE aMh
  89. ZOO.EXE -delete
  90. \xdc\xa7\xc4\xfd
  91. --------  --- --------  --------- --------
  92. --------  --- --------  --------- --------
  93. 0
  94. 2
  95. 3,2
  96. 3
  97. -1
  98. ;
  99. ; This entry is for LHarc 2.22.  Supposedly fixes bugs in earlier versions.
  100. ; Actually seems to have done so.  Good work, Peter.
  101. ;
  102. LHarc 2.22
  103. LZH
  104. 2
  105. LH.EXE /o l
  106. LH.EXE /o x
  107. LH.EXE /o /s x
  108. LH.EXE t
  109. LH.EXE /o a
  110.  
  111. LH.EXE /o /s a
  112. LH.EXE /o m
  113.  
  114. LH.EXE /o d
  115. -lh
  116.   -------- --------  -----------------------------------------
  117.   --------          -----------------------------------------
  118. 0
  119. -1
  120. 1,4
  121. 1
  122. 2
  123. ;
  124. ; Duplicate entry is for LHarc 2.22 using LH32 filename.
  125. ;
  126. LHarc-32 2.22
  127. LZH
  128. 2
  129. LH32.EXE /o l
  130. LH32.EXE /o x
  131. LH32.EXE /o /s x
  132. LH32.EXE t
  133. LH32.EXE /o a
  134.  
  135. LH32.EXE /o /s a
  136. LH32.EXE /o m
  137.  
  138. LH32.EXE /o d
  139. -lh
  140.   -------- --------  -----------------------------------------
  141.   --------          -----------------------------------------
  142. 0
  143. -1
  144. 1,4
  145. 1
  146. 2
  147. ;
  148. ; This entry is for LHarc 2.22 self-extractors.
  149. ;
  150. LHarc 2.22 SE
  151. LZH
  152. 22963
  153. LH.EXE /o l
  154. LH.EXE /o x
  155. LH.EXE /o /s x
  156. LH.EXE t
  157. LH.EXE /o a
  158.  
  159. LH.EXE /o /s a
  160. LH.EXE /o m
  161.  
  162. LH.EXE /o d
  163. -lh
  164.   -------- --------  -----------------------------------------
  165.   --------          -----------------------------------------
  166. 0
  167. -1
  168. 1,4
  169. 1
  170. 2
  171. ;
  172. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  173. ; recognize them.
  174. ;
  175. LHarc 2.12 DOS SE
  176. LZH
  177. 1638
  178. LH.EXE /o l
  179. LH.EXE /o x
  180. LH.EXE /o /s x
  181. LH.EXE t
  182. LH.EXE /o a
  183.  
  184. LH.EXE /o /s a
  185. LH.EXE /o m
  186.  
  187. LH.EXE /o d
  188. -lh
  189.   -------- --------  -----------------------------------------
  190.   --------          -----------------------------------------
  191. 0
  192. -1
  193. 1,4
  194. 1
  195. 2
  196. ;
  197. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  198. ; recognize them.
  199. ;
  200. LHarc 2.12 DOS SE
  201. LZH
  202. 37
  203. LH.EXE /o l
  204. LH.EXE /o x
  205. LH.EXE /o /s x
  206. LH.EXE t
  207. LH.EXE /o a
  208.  
  209. LH.EXE /o /s a
  210. LH.EXE /o m
  211.  
  212. LH.EXE /o d
  213. $LHarc's SFX
  214.   -------- --------  -----------------------------------------
  215.   --------          -----------------------------------------
  216. 0
  217. -1
  218. 1,4
  219. 1
  220. 2
  221. ;
  222. ; This entry is for LHA 2.13L (DOS) self-extractors since LH 2.22 seems to
  223. ; recognize them.
  224. ;
  225. LHarc 2.13 DOS SE
  226. LZH
  227. 36
  228. LH.EXE /o l
  229. LH.EXE /o x
  230. LH.EXE /o /s x
  231. LH.EXE t
  232. LH.EXE /o a
  233.  
  234. LH.EXE /o /s a
  235. LH.EXE /o m
  236.  
  237. LH.EXE /o d
  238. LHA's SFX 2.13L (c) Yoshi, 1991\r\n
  239.   -------- --------  -----------------------------------------
  240.   --------          -----------------------------------------
  241. 0
  242. -1
  243. 1,4
  244. 1
  245. 2
  246. ;
  247. ;
  248. ;This entry is for LH2 2.11.
  249. ;
  250. ;NOTE:  sometimes will put a file into an archive more than once, necessitating 
  251. ;deleting both.  EAs not handled well, but at least they're handled.
  252. ;
  253. LHarc 2.11
  254. LZH
  255. 2
  256. LH.EXE /o l
  257. LH.EXE /o x
  258. LH.EXE /o /s x
  259. LH.EXE t
  260. LH.EXE /o a
  261.  
  262. LH.EXE /o /s a
  263. LH.EXE /o m
  264.  
  265. LH.EXE /o d
  266. -lh
  267.   -------- -------- -----------------------------------------
  268.   --------          -----------------------------------------
  269. 0
  270. -1
  271. 1
  272. 1
  273. 2
  274. ;
  275. ;
  276. ;This entry is for ZIP 1.9/UNZIP 5.0 (available in 32-bit versions)
  277. ;ZIP/UNZIP should work with PKZIP 2.04 files.  Saves EAs well.  Won't
  278. ;extract a file stored with path without the path (actually, this seems
  279. ;to be fixed now.  Maybe.  There are dozens of versions floating around;
  280. ;you don't pays your money and you takes your chances).  If you have a
  281. ;version that won't extract files with paths without the paths, there's
  282. ;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
  283. ;Because of broken ZIP archives floating around everywhere, this is here
  284. ;without the version flag in the signature (should really be PK\x3\x4\x14).
  285. ;Damnit, it looks like Katz's own software is what does the botching.  So
  286. ;much for the keeper of the ZIP standard...  Zip still seems to have to
  287. ;have erratic problems with creating archives with some pathnames...
  288. ;
  289. Zip/UnZip 1.9/5.0
  290. ZIP
  291. 0
  292. UNZIP.EXE -vUo
  293. UNZIP.EXE -jo
  294. UNZIP.EXE -o
  295. UNZIP.EXE -to
  296. ZIP.EXE -j9g
  297. ZIP.EXE -9g
  298. ZIP.EXE -r9g
  299. ZIP.EXE -mj9g
  300. ZIP.EXE -m9g
  301. ZIP.EXE -d
  302. PK\x3\x4
  303.  ------  ------   ----  -----   ----    ----   ------     ----
  304.  ------          ------  ---                              -------
  305. 0
  306. 2
  307. 4,1
  308. 2
  309. 7
  310. ;
  311. ;
  312. ;Duplicate entry is for ZIP 1.9/UNZIP 5.0 using 32 filenames.
  313. ;
  314. Zip/UnZip-32 1.9/5.0
  315. ZIP
  316. 0
  317. UNZIP32.EXE -vUo
  318. UNZIP32.EXE -jo
  319. UNZIP32.EXE -o
  320. UNZIP32.EXE -to
  321. ZIP32.EXE -j9g
  322. ZIP32.EXE -9g
  323. ZIP32.EXE -r9g
  324. ZIP32.EXE -mj9g
  325. ZIP32.EXE -m9g
  326. ZIP32.EXE -d
  327. PK\x3\x4
  328.  ------  ------   ----  -----   ----    ----   ------     ----
  329.  ------          ------  ---                              -------
  330. 0
  331. 2
  332. 4,1
  333. 2
  334. 7
  335. ;
  336. ;
  337. ;This entry is for PKZIP 1.01
  338. ;
  339. PK(Un)Zip 1.01
  340. ZIP
  341. 0
  342. PKZIP.EXE -v
  343. PKUNZIP.EXE -o
  344. PKUNZ